package cn.bfay.lion.rest.param;

import cn.bfay.lion.rest.enums.WatchStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * WatchOrUnwatchProductParam.
 *
 * @author wangjiannan
 * @since 2019/10/23
 */
@Data
public class WatchOrUnwatchProductParam implements Serializable {
    private static final long serialVersionUID = 3131456023081575223L;

    @ApiModelProperty(value = "商品id")
    @NotBlank(message = "商品id不能为空")
    private String skuid;

    @ApiModelProperty(value = "关注标识", required = true)
    @NotNull(message = "关注标识不能为空")
    private WatchStatus watchStatus;
}
